package org.jeecg.modules.yfFenfgl.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.modules.yfFenfgl.entity.HqYfFenfgl;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @Description: 分房管理
 * @Author: jeecg-boot
 * @Date:   2020-07-15
 * @Version: V1.0
 */
@Mapper
public interface HqYfFenfglMapper extends BaseMapper<HqYfFenfgl> {

    IPage<HqYfFenfgl> myApplyList(Page<HqYfFenfgl> page, @Param("user")LoginUser user, @Param("hqYfFenfgl")HqYfFenfgl hqYfFenfgl);

    IPage<HqYfFenfgl> myTodoTasks(Page<HqYfFenfgl> page, @Param("user")LoginUser user, @Param("hqYfFenfgl")HqYfFenfgl hqYfFenfgl);

    IPage<HqYfFenfgl> myDoneTasks(Page<HqYfFenfgl> page, @Param("user")LoginUser user, @Param("hqYfFenfgl")HqYfFenfgl hqYfFenfgl);

    HqYfFenfgl selectByprocessInstanceID(@Param("processInstanceId") String processInstanceId);

    IPage<HqYfFenfgl> guidan(Page<HqYfFenfgl> page,@Param("hqYfFenfgl")HqYfFenfgl hqYfFenfgl);

    List<HqYfFenfgl> guidanExcel(@Param("hqYfFenfgl") HqYfFenfgl hqYfFenfgl);
}
